﻿using d1Common;
using d1Common.WebController;
using d1Project.Tools.PagedList;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;

namespace d1Project.Modules.Business.doXZ.Controllers.a
{
    [Route("doXZ/a_N_Test")]
    public class XZa_N_TestController : ControllerBase
    {
        protected override DbContext dbContext
        {
            get
            {
                return null;
            }
        }

        public async Task<IHttpActionResult> Get([FromUri]N_TestGetVm model)
        {
            return Ok(model);
        }
        public async Task<IHttpActionResult> Post(N_TestPostVm model)
        {
            return Ok(model);
        }
    }

    public class N_TestGetVm : VmBase
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
    }
    public class N_TestPostVm
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
    }
}
